echo 'Archlinux mini setup'
echo 'Modify the script to suit your needs'
gpasswd -a THIS_USER_HAVE8TO_CHANGE http
mkdir cache
mkdir templates_c
cd ..
sudo chown -R http:http mdoc
sudo chmod -R 770 mdoc
yaourt -S php-sqlite smarty3

echo 'Edit /etc/php/php.ini to update include_path and opendir path with smarty path (/usr/share/php/smarty3/libs/)'
echo 'Edit /etc/php/php.ini to see errors : error_reporting = E_ALL | E_STRICT and display_error = On'
echo 'Edit /etc/php/php.ini to enable sqlite : uncomment extension=sqlite3.so'
echo 'Restart apache ;)'
echo 'PROFIT'